//
//  ClearCacheController.m
//  CaiPiao
//
//  Created by l wb on 2018/5/17.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "ClearCacheController.h"

@interface ClearCacheController ()
@property (weak, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation ClearCacheController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.navigationItem.title = @"清除缓存";
    
    self.webView.scrollView.bounces = YES;
    self.webView.scrollView.showsVerticalScrollIndicator = NO;
    self.webView.translatesAutoresizingMaskIntoConstraints = NO;
    self.webView.scrollView.backgroundColor = [UIColor whiteColor];
    NSURL *htmlPath = [[NSBundle mainBundle]URLForResource:@"clear_hc" withExtension:@"html" subdirectory:@"HtmlFile"];
    NSString *htmlCode = [NSString stringWithContentsOfURL:htmlPath encoding:NSUTF8StringEncoding error:nil];
    if (htmlCode) {
        [_webView loadRequest:[NSURLRequest requestWithURL:htmlPath]];
        
    }
    
    
}



@end
